#ifndef RENAMEDLG_H
#define RENAMEDLG_H

#include <QDialog>

namespace Ui {
    class RenameDlg;
}

class RenameDlg : public QDialog
{
    Q_OBJECT

public:
    explicit RenameDlg(const QString &path, QWidget *parent = 0);
    virtual ~RenameDlg();
private slots:
    void onAccepted();
    void onTextChanged(const QString & text);
private:
    Ui::RenameDlg *ui;
    QString _path;
    QString _name;
};

#endif // RENAMEDLG_H
